﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;
using DAL;

namespace BLL
{
    public class CoachTypeBUS
    {
        public CoachTypeBUS()
        {

        }

        public static List<CoachType> GetCoachType()
        {
            CoachTypeDAL coachTypeDal = new CoachTypeDAL();
            List<CoachType> lst = coachTypeDal.GetAll_CoachType();
            return lst;
        }

        public static CoachType GetCoachType(int CoachTypeID)
        {
            CoachTypeDAL coachTypeDal = new CoachTypeDAL();
            CoachType obj = coachTypeDal.Get_CoachType_By_ID(CoachTypeID);
            return obj;
        }
    }
}
